import xmlrpclib
from SimpleXMLRPCServer import SimpleXMLRPCServer
import random


proxy = xmlrpclib.ServerProxy("http://localhost:8001/")
ID = proxy.connect()
print ID
while(True):
        text = ""
        text = raw_input(">>")
        print text
        ceva = text.split(" ")
        print ceva
        if ceva[0]=="print":
                print proxy.show()
